#include "key_app.h"
#include "os.h"
#include "board_desc.h"


static void key_task(void)
{	
	printf("key_task run start\r\n");
	while(1)
	{
		
		sleep_ms(1000);
	}
}

int key_task_creat(void)
{
	if (os_task_create(key_task, (char*)"key task creat", 128, 15) != 0)
	{
        printf("key task_creat failed!\r\n");
        return -1;
    }

    return 0;
}






